﻿using Handday.Erp.Transfer.Enum;
using HandDay.Framework.Common.Services;
using HandDay.Framework.Core.DependencyInjection;
using System;
using System.Threading.Tasks;

namespace Handday.Erp.Transfer.Services
{
    /// <summary>
    /// 数据推送通用服务
    /// </summary>
    public interface IPublishCommonService : ITransientDependency
    {
        /// <summary>
        /// 推送逻辑
        /// </summary>
        Task<ServiceResult> PublishAsync(ErpFeatureTypeEnum featureType, ulong corpId, DateTimeOffset dateTime);
    }
}
